body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
#intro {
  position: fixed;
  inset: 0;
  background-color: rgb(197, 172, 143); 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 9999;
  animation: fadeOut 2s ease-in-out forwards;
  animation-delay: 3s;
}
#intro img {
  max-width: 3000px;
  opacity: 0;
  animation: imageFade 3s ease-in-out forwards;
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes imageFade {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
h2 {
  text-align: center;
  font-size: 40px;
  color: rgb(90, 46, 46);
  text-shadow: 2.5px 2.5px rgba(0, 0, 0, 0.5);
}
h4 {
  text-align: center;
  font-size: 40px;
  color: rgb(90, 46, 46);
}
.header-container {
  position: relative;
  height: 100vh;
  background-image:url('/Bilder/Bandfoto.png');
  background-size: cover;
  background-position: center;
}
.logo-image {
  position: absolute;
  left: 50px;
  top: 20px;
  height: 130px;
  width: auto;
  z-index: 1;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* dunkle, halbtransparente Fläche */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9; /* Muss unter dem Menü, aber über dem restlichen Inhalt liegen */
}

/* Wenn aktiv, wird das Overlay sichtbar */
.overlay.active {
  opacity: 1;
  pointer-events: all;
}
.menu {
  position: absolute;
  top: 40px;
  right: 50px;
  display: flex;
  gap: 30px;
  z-index: 10;
}

.menu-toggle {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.322);
  z-index: 11;
  cursor: pointer;
}
.menu-link {
  color: white;
  text-decoration: none;
  margin-left: 50px;
  font-size: 20px;
  font-weight: bold;
}
.link {
  color: black;
  text-decoration: underline;
}
.menu-link:hover {
  text-decoration: underline;
}

.headline {
  position: absolute;
  top: 250px; 
  left: 50%;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  font-size: 85px;
  z-index: 1;
  color: white;
  text-shadow: 5px 5px rgba(0, 0, 0, 0.5);
}
.brown {
  color: rgb(197, 172, 143);
}
.text-rahmen {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid rgb(90, 46, 46);
  border-radius: 20px;
  background-color: #fff7e6;
  padding: 20px 30px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.rahmen-bild {
  height: 100px;
  width: auto;
}

.rahmen-text {
  padding: 0 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  text-align: center;
  flex: 1;
}

@media (max-width: 700px) {
  .text-rahmen {
    flex-direction: column;
  }
  .rahmen-bild {
    height: 70px;
    margin: 10px 0;
  }
  .rahmen-text {
    padding: 10px;
  }
  .headline {
    font-size: 25px;
  }
  .header-container {
    height: 50vh;
  }

}
@media (max-width: 1050px) {
  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(197, 172, 143);
    border: 4px solid rgb(90, 46, 46);
    border-radius: 20px;
    padding: 2rem;
    border-radius: 12px;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .menu-link {
    text-align: left;
    color: rgb(90, 46, 46);
    margin: 10px;
    font-size: 25px;
    text-decoration: none;
  }
  .menu.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
@media (max-width: 1300px) {
  .headline {
    font-size: 55px;
  }
  .header-container {
    height: 90vh;
  }
}

/* bei ≤ 1000px */
@media (max-width: 1000px) {
  .headline {
    font-size: 45px;
  }
    .header-container {
    height: 80vh;
  }
}

/* bei ≤ 900px */
@media (max-width: 900px) {
  .headline {
    font-size: 45px;
  }
  .header-container {
    height: 70vh;
  }
}

/* bei ≤ 800px */
@media (max-width: 800px) {
  .headline {
    font-size: 35px;
  }
  .header-container {
    height: 60vh;
  }
}

@media (max-width: 600px) {
  .headline {
    font-size: 20px;
  }
  .header-container {
    height: 40vh;
  }
  .rahmen-text {
    font-size: 10px;
  }
  .menu-link {
    font-size: 35px;
  }
}
@media (max-width: 500px) {
  .headline {
    font-size: 15px;
  }
  .header-container {
    height: 30vh;
  }
}
.abstand {
  margin: 70px;
}
.container-bottom {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  font-size: 40px;
  display: flex;
}
.bottom-link {
  color: white;
  text-decoration: none;
}
#datenschutz-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#datenschutz-box {
  background-color: rgb(204, 189, 180);
  padding: 2rem;
  border: 4px solid rgb(90, 46, 46);
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#datenschutz-box button {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background-color: #2563EB;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#datenschutz-box button:hover {
  background-color: #3B82F6;
}

